package com.lcxw.hxzbapi.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lcxw.hxzbapi.entity.pojo.IncomeUnion;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface IncomeUnionMapper extends BaseMapper<IncomeUnion> {

    @Select("SELECT term from ywpd_incomeUnion group by term ORDER BY ID DESC")
    List<String> selectTerms();
}
